{foreach from=$page->getSidebar() item=position key=k}
                                    {strip}

<form name="actionForm" action="index.php" method="POST">
    <input type="hidden" name="source" value="{$source}"/>
    <input type="hidden" name="action" value="{$position.link}"/>
    <input type="submit" value="{$position.label}" />
</form>{/strip}{/foreach}